package com.lili.operate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lili.operate.entity.distribution.DistributionGoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DistributionGoodsMapper extends BaseMapper<DistributionGoods> {
    /**
     * 定义添加分销商品的mapper
     * @param distributionGoods
     * @return
     */
    public int saveDistributionGoods(DistributionGoods distributionGoods);

    public List<DistributionGoods> queryAllDistributionGoods();

    public int updateDistributionGoods(String id);
}
